package com.imu.purse.modules.base.entity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.imu.core.base.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 数据字典
 * 
 * @author sunhongwei
 * @email sunhongwei@jshijian.com
 * @date 2017-11-03 20:34:20
 * Copyright (c) 2017 武汉极时间科技有限公司 版权所有 
 * Jshijian aloha CO.,LTD. All Rights Reserved. 
 */
@Data
@Table(name = "sys_dict_info")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class DictInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="id")
	private Long id;
	
	//分组ID
	@Column(name="gid")
	private Long gid;
	
	//键值键
	@Column(name="label")
	private String label;
	
	//值
	@Column(name="value")
	private String value;
	
	//排序
	@Column(name="sort")
	private Integer sort;
	
	//描述
	@Column(name="remarks")
	private String remarks;
	
	//创建者ID
	@Column(name="cid")
	private Long cid;
	
	//创建时间
	@Column(name="cs")
	private Long cs;
	
	//修改者ID
	@Column(name="mid")
	private Long mid;
	
	//修改时间
	@Column(name="ms")
	private Long ms;
	
	//删除状态1删除0未删除 默认0
	@Column(name="del_flag")
	private Integer delFlag;
	
	/**
	 * 设置：主键
	 */
	public void setId(Long id) 
	{
		this.id = id;
	}
	
	/**
	 * 获取：主键
	 */
	public Long getId() 
	{
		return id;
	}
	
	/**
	 * 设置：分组ID
	 */
	public void setGid(Long gid) 
	{
		this.gid = gid;
	}
	
	/**
	 * 获取：分组ID
	 */
	public Long getGid() 
	{
		return gid;
	}
	
	/**
	 * 设置：键值键
	 */
	public void setLabel(String label) 
	{
		this.label = label;
	}
	
	/**
	 * 获取：键值键
	 */
	public String getLabel() 
	{
		return label;
	}
	
	/**
	 * 设置：值
	 */
	public void setValue(String value) 
	{
		this.value = value;
	}
	
	/**
	 * 获取：值
	 */
	public String getValue() 
	{
		return value;
	}
	
	/**
	 * 设置：排序
	 */
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}
	
	/**
	 * 获取：排序
	 */
	public Integer getSort() 
	{
		return sort;
	}
	
	/**
	 * 设置：描述
	 */
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}
	
	/**
	 * 获取：描述
	 */
	public String getRemarks() 
	{
		return remarks;
	}
	
	/**
	 * 设置：创建者ID
	 */
	public void setCid(Long cid) 
	{
		this.cid = cid;
	}
	
	/**
	 * 获取：创建者ID
	 */
	public Long getCid() 
	{
		return cid;
	}
	
	/**
	 * 设置：创建时间
	 */
	public void setCs(Long cs) 
	{
		this.cs = cs;
	}
	
	/**
	 * 获取：创建时间
	 */
	public Long getCs() 
	{
		return cs;
	}
	
	/**
	 * 设置：修改者ID
	 */
	public void setMid(Long mid) 
	{
		this.mid = mid;
	}
	
	/**
	 * 获取：修改者ID
	 */
	public Long getMid() 
	{
		return mid;
	}
	
	/**
	 * 设置：修改时间
	 */
	public void setMs(Long ms) 
	{
		this.ms = ms;
	}
	
	/**
	 * 获取：修改时间
	 */
	public Long getMs() 
	{
		return ms;
	}
	
	/**
	 * 设置：删除状态1删除0未删除 默认0
	 */
	public void setDelFlag(Integer delFlag) 
	{
		this.delFlag = delFlag;
	}
	
	/**
	 * 获取：删除状态1删除0未删除 默认0
	 */
	public Integer getDelFlag() 
	{
		return delFlag;
	}
}
